#!/usr/bin/python
import sys, os, socket

HOST = '192.168.1.9'
PORT = 10001

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
	s.connect((HOST,PORT))
except:
	print "Error connecting to %s" % (HOST)
	exit(1)

print "Connected to %s" % (HOST)

s.send("V");

version = s.recv(256)

print "Version: " + version

